package com.nit.lab.dao;

import com.nit.lab.dto.DtoOrderFile;
import com.nit.lab.dto.DtohisOrder;

import java.util.List;

/**
 * Created by CYT on 2017/12/5.
 */
public interface HisOrderDao {
    /*获取历史订单数量*/
    Integer getHisOrderDataTableCount(String search, Integer pre, Integer actorId) throws Exception;

    /*获取历史订单信息*/
    List<DtohisOrder> getHisOrderDataTable(Integer start, Integer length, String search, Integer pre, Integer actorId) throws Exception;

    /**
     * @Description: 根据OrderID 获取文件信息
     * @Author: 卫超越
     * @Date: 2017/12/28 上午10:41
     * @return:
     */
    DtoOrderFile getFileInfoByOrderId(Integer orderId) throws Exception;

    Integer insertEvaluate(Integer orderId, Integer evaluate) throws Exception;

}
